// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BOM_TECHNIC_ITEM_MTRL
// * CreateDate    : 2014-06-05 18:29:41
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:41
// * LastChanger   : 2014-06-05 18:29:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BomTechnicItemMtrlTable : TableInfo
    {
		public const string C_TableName = "BOM_TECHNIC_ITEM_MTRL";
		
		public const string C_Id = "Id";
		public const string C_Bom_Technic_Item_Id = "Bom_Technic_Item_Id";
		public const string C_BOM_TECHNIC_ID = "BOM_TECHNIC_ID";
		public const string C_Technic_Code = "Technic_Code";
		public const string C_Mtrl_Id = "Mtrl_Id";
		public const string C_Mtrl_Name = "Mtrl_Name";
		public const string C_Mtrl_Code = "Mtrl_Code";
		public const string C_Req_Qty = "Req_Qty";
		public const string C_Unit = "Unit";
		public const string C_MTRLGROUP_NO = "MTRLGROUP_NO";
		public const string C_MTRLGROUP_NAME = "MTRLGROUP_NAME";
		
		public BomTechnicItemMtrlTable()
        {
            _tableName = "BOM_TECHNIC_ITEM_MTRL";
        }
		
		protected static BomTechnicItemMtrlTable _current;
        public static BomTechnicItemMtrlTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BomTechnicItemMtrlTable();

            _current.Add(C_Id, new ColumnInfo(C_Id,"Id", true, typeof(string)));
            _current.Add(C_Bom_Technic_Item_Id, new ColumnInfo(C_Bom_Technic_Item_Id,"BomTechnicItemId", false, typeof(string)));
            _current.Add(C_BOM_TECHNIC_ID, new ColumnInfo(C_BOM_TECHNIC_ID,"BomTechnicId", false, typeof(string)));
            _current.Add(C_Technic_Code, new ColumnInfo(C_Technic_Code,"TechnicCode", false, typeof(string)));
            _current.Add(C_Mtrl_Id, new ColumnInfo(C_Mtrl_Id,"MtrlId", false, typeof(string)));
            _current.Add(C_Mtrl_Name, new ColumnInfo(C_Mtrl_Name,"MtrlName", false, typeof(string)));
            _current.Add(C_Mtrl_Code, new ColumnInfo(C_Mtrl_Code,"MtrlCode", false, typeof(string)));
            _current.Add(C_Req_Qty, new ColumnInfo(C_Req_Qty,"ReqQty", false, typeof(decimal)));
            _current.Add(C_Unit, new ColumnInfo(C_Unit,"Unit", false, typeof(string)));
            _current.Add(C_MTRLGROUP_NO, new ColumnInfo(C_MTRLGROUP_NO,"MtrlgroupNo", false, typeof(string)));
            _current.Add(C_MTRLGROUP_NAME, new ColumnInfo(C_MTRLGROUP_NAME,"MtrlgroupName", false, typeof(string)));
			
		}
		
		public ColumnInfo Id
        {
            get { return this[C_Id]; }
        }
		
		public ColumnInfo Bom_Technic_Item_Id
        {
            get { return this[C_Bom_Technic_Item_Id]; }
        }
		
		public ColumnInfo BOM_TECHNIC_ID
        {
            get { return this[C_BOM_TECHNIC_ID]; }
        }
		
		public ColumnInfo Technic_Code
        {
            get { return this[C_Technic_Code]; }
        }
		
		public ColumnInfo Mtrl_Id
        {
            get { return this[C_Mtrl_Id]; }
        }
		
		public ColumnInfo Mtrl_Name
        {
            get { return this[C_Mtrl_Name]; }
        }
		
		public ColumnInfo Mtrl_Code
        {
            get { return this[C_Mtrl_Code]; }
        }
		
		public ColumnInfo Req_Qty
        {
            get { return this[C_Req_Qty]; }
        }
		
		public ColumnInfo Unit
        {
            get { return this[C_Unit]; }
        }
		
		public ColumnInfo MTRLGROUP_NO
        {
            get { return this[C_MTRLGROUP_NO]; }
        }
		
		public ColumnInfo MTRLGROUP_NAME
        {
            get { return this[C_MTRLGROUP_NAME]; }
        }
		
		
		
	}
}

